.class public Lde/dealdoktor/app/data/Category;
.super Ljava/lang/Object;
.source "Category.java"


# instance fields
.field public cat_id:I

.field public ctype:Ljava/lang/String;

.field public title:Ljava/lang/String;


# direct methods
.method public constructor <init>(Landroid/database/Cursor;)V
    .locals 1
    .parameter "c"

    .prologue
    .line 16
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 17
    const-string v0, "title"

    invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v0

    invoke-interface {p1, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lde/dealdoktor/app/data/Category;->title:Ljava/lang/String;

    .line 18
    const-string v0, "ctype"

    invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v0

    invoke-interface {p1, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lde/dealdoktor/app/data/Category;->ctype:Ljava/lang/String;

    .line 19
    const-string v0, "cat_id"

    invoke-interface {p1, v0}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v0

    invoke-interface {p1, v0}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    iput v0, p0, Lde/dealdoktor/app/data/Category;->cat_id:I

    .line 20
    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Ljava/lang/String;I)V
    .locals 0
    .parameter "title"
    .parameter "ctype"
    .parameter "cat_id"

    .prologue
    .line 10
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 11
    iput-object p1, p0, Lde/dealdoktor/app/data/Category;->title:Ljava/lang/String;

    .line 12
    iput-object p2, p0, Lde/dealdoktor/app/data/Category;->ctype:Ljava/lang/String;

    .line 13
    iput p3, p0, Lde/dealdoktor/app/data/Category;->cat_id:I

    .line 14
    return-void
.end method
